package com.shoppingCart.service;

import com.shoppingCart.dataobject.Order;
import com.shoppingCart.mapper.OrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * create By lihao
 */
@Service
public class OrderService {

    @Autowired
    private OrderMapper orderMapper;

    public boolean create(Order order){
        return orderMapper.create(order);
    }

}
